<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">

	<h:form id="userMenuForm">

		<p:menu type="sliding" style="width:185px; height: 600px;">
			<p:submenu label="#{x['faces.link.label.user']]"
				icon="ui-icon-refresh">
				<p:menuitem value="#{x['faces.button.label.generic.search']}"
					action="/facelets/user/userManager" icon="ui-icon ui-icon-search"
					ajax="false" immediate="true" />
			</p:submenu>

			<p:submenu label="#{x['faces.label.profile']]" icon="ui-icon-refresh">
				<p:menuitem value="#{x['faces.button.label.generic.search']}"
					action="/facelets/user/profileManager"
					icon="ui-icon ui-icon-search" ajax="false" immediate="true" />
			</p:submenu>
		</p:menu>

	</h:form>
</ui:composition>